//
// Decompiled by Jadx - 379ms
//
package me.plusne.common.Json.Soul;

import java.io.Serializable;

public class SoulSendMessageJson implements Serializable {
    private Object ImMessage;
    private Object data;
    private String key;
    private int type;
    private String userID;

    public boolean canEqual(Object obj) {
        return obj instanceof SoulSendMessageJson;
    }

    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof SoulSendMessageJson)) {
            return false;
        }
        SoulSendMessageJson soulSendMessageJson = (SoulSendMessageJson) obj;
        if (!soulSendMessageJson.canEqual(this) || getType() != soulSendMessageJson.getType()) {
            return false;
        }
        String userID = getUserID();
        String userID2 = soulSendMessageJson.getUserID();
        if (userID != null ? !userID.equals(userID2) : userID2 != null) {
            return false;
        }
        Object data = getData();
        Object data2 = soulSendMessageJson.getData();
        if (data != null ? !data.equals(data2) : data2 != null) {
            return false;
        }
        String key = getKey();
        String key2 = soulSendMessageJson.getKey();
        if (key != null ? !key.equals(key2) : key2 != null) {
            return false;
        }
        Object imMessage = getImMessage();
        Object imMessage2 = soulSendMessageJson.getImMessage();
        return imMessage != null ? imMessage.equals(imMessage2) : imMessage2 == null;
    }

    public Object getData() {
        return this.data;
    }

    public Object getImMessage() {
        return this.ImMessage;
    }

    public String getKey() {
        return this.key;
    }

    public int getType() {
        return this.type;
    }

    public String getUserID() {
        return this.userID;
    }

    public int hashCode() {
        int type = getType() + 59;
        String userID = getUserID();
        int hashCode = (type * 59) + (userID == null ? 43 : userID.hashCode());
        Object data = getData();
        int hashCode2 = (hashCode * 59) + (data == null ? 43 : data.hashCode());
        String key = getKey();
        int hashCode3 = (hashCode2 * 59) + (key == null ? 43 : key.hashCode());
        Object imMessage = getImMessage();
        return (hashCode3 * 59) + (imMessage != null ? imMessage.hashCode() : 43);
    }

    public void setData(Object obj) {
        this.data = obj;
    }

    public void setImMessage(Object obj) {
        this.ImMessage = obj;
    }

    public void setKey(String str) {
        this.key = str;
    }

    public void setType(int i) {
        this.type = i;
    }

    public void setUserID(String str) {
        this.userID = str;
    }

    public String toString() {
        return "SoulSendMessageJson(userID=" + getUserID() + ", type=" + getType() + ", data=" + getData() + ", key=" + getKey() + ", ImMessage=" + getImMessage() + ")";
    }
}
